package com.cjb.base.service.impl;

import com.cjb.base.dao.MenuMapper;
import com.cjb.base.domain.Menu;
import com.cjb.base.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuMapper menuMapper;



    @Override
    public List<Menu> getByUid(Integer uid) {
        return menuMapper.getByuid(uid);
    }
}
